#! /bin/sh

USER=admin
PASSWORD=admin

HOSTNAME=localhost
PORT=8080
CONTEXT=template/ws/resource

# use -u for authentication if required!
# -u "$USER:$PASSWORD" \

curl -X POST \
    -H "Content-Type: application/json" \
	-H "Accept: application/json" \
	"http://$HOSTNAME:$PORT/$CONTEXT/rule"
